package com.coffee.attachment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.coffee.mybatis.TenantEntity;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 *
 * @author Songkui
 * @since 2023-05-11
 */
@Getter
@Setter
@EqualsAndHashCode(of ={"id"}, callSuper = false)
@Accessors(chain = true)
@TableName("attach_visual")
public class AttachVisualEntity extends TenantEntity {

    private static final long serialVersionUID = 6978898L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 主图【包括视频主图】
     */
    @TableField("main_bucket")
    private String mainBucket;

    @TableField("main_object")
    private String mainObject;

    /**
     * 主图扩展名
     */
    @TableField("main_exte")
    private String mainExte;

    /**
     * 缩微图
     */
    @TableField("micro_bucket")
    private String microBucket;

    @TableField("micro_object")
    private String microObject;

    /**
     * 缩微图扩展名
     */
    @TableField("micro_exte")
    private String microExte;

    /**
     * 视频
     */
    @TableField("video_bucket")
    private String videoBucket;

    /**
     * 视频
     */
    @TableField("video_object")
    private String videoObject;

    /**
     * 视频音频 扩展名
     */
    @TableField("video_exte")
    private String videoExte;

    /**
     * 展示量
     */
    @TableField("show_number")
    private Integer showNumber;

    /**
     * 描述
     */
    @TableField("visual_describe")
    private String visualDescribe;




}
